


namespace Core.Extensions
{
    using System;
    using System.Collections.Generic;
    using Base;
    using Contracts.Enums;
    using Contracts.Interfaces;
    using Resources;

    /// <summary>
    /// Advanced intensive harvesting Extension class
    /// </summary>
    
    public sealed class AdvancedIntensiveHarvesting: ExtensionBase
    {
        /// <summary>
        /// Create a new instance of the <see cref="T:Core.Extensions.AdvancedIntensiveHarvesting"/> class.
        /// </summary>
        public AdvancedIntensiveHarvesting()
            : base(
                Traduction.extensions_advanced_intensive_harvesting, 
                ExtensionGroupsEnum.MineralExtraction,
                4,
                0, 
                new ExtensionCost(80000,0),
                new ICondition<IExtension>[] {new ExtensionCondition<BasicIntensiveHarvesting>(4)} )
        {
            Modifiers = new IModifier[]
                            {
                                new Modifier(FeatureTypesEnum.Module, FeaturesEnum.HarvesterCycleTime, 0.03) {Unit = UnitsEnum.Percentage, DisplayName = "Harvester cycle time"}
                            };
        }
        /// <summary>
        /// Obtains the extension description
        /// </summary>
        public override string Description
        {
            get { return Traduction.extensions_advanced_intensive_harvesting_description; }
        }
    }
}